
package com.gofun.report.controller;

import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.ServletRequestUtils;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import com.gofun.common.exception.BusinessException;
import com.gofun.common.exception.TokenException;
import com.gofun.common.vo.ResponseEntity;
import com.google.common.collect.Maps;



@Controller
@RequestMapping("/dataReport")
public class DataReportController extends BaseController {
	Logger log = LoggerFactory.getLogger(DataReportController.class);
	Logger biLogger = LoggerFactory.getLogger("biLogger");
	
	/**
	 * 确认用车
	 *
	 * @param carId
	 * @param abatement
	 * @param request
	 * @param response
	 * @return
	 * @throws BusinessException
	 * @throws TokenException
	 */
	@ResponseBody
	@RequestMapping("/appReport")
	public ResponseEntity appReport(String params,HttpServletRequest request, HttpServletResponse response){
		Map<String, Object> map=Maps.newHashMap();
		try {
			biLogger.info(params);
		} catch (Exception e) {
			log.info(e.getMessage(), e);
		}
		return buildResponseEntity(map);
	}
}

